package com.qms.qep.domain;

import java.util.Date;

import com.qms.common.annotation.Excel;
import com.qms.common.core.domain.BaseEntity;

/**
 * 证书对象 certificate
 */
public class Certificate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificateNo;

    /** 模板ID */
    private Long templateId;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 产品ID */
    private Long productId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 批次ID */
    private Long batchId;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchNo;

    /** 任务ID */
    private Long taskId;

    /** 证书内容 */
    private String content;

    /** 签发日期 */
    @Excel(name = "签发日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;
    
    /** 开始签发日期 */
    private String beginIssueDate;

    /** 结束签发日期 */
    private String endIssueDate;

    /** 签发人 */
    @Excel(name = "签发人")
    private String issuer;

    /** 证书状态 */
    @Excel(name = "证书状态")
    private String certificateStatus;

    /** 作废原因 */
    private String voidReason;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 文件URL */
    private String fileUrl;

    /** 导出格式（PDF/DOCX） */
    @Excel(name = "导出格式")
    private String exportFormat;

    /** Word文件地址 */
    private String wordFileUrl;

    /** 证书类型 */
    @Excel(name = "证书类型")
    private String type;

    /** 有效期至 */
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validUntil;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(Date issueDate) {
        this.issueDate = issueDate;
    }
    
    public String getBeginIssueDate() {
        return beginIssueDate;
    }

    public void setBeginIssueDate(String beginIssueDate) {
        this.beginIssueDate = beginIssueDate;
    }

    public String getEndIssueDate() {
        return endIssueDate;
    }

    public void setEndIssueDate(String endIssueDate) {
        this.endIssueDate = endIssueDate;
    }

    public String getIssuer() {
        return issuer;
    }

    public void setIssuer(String issuer) {
        this.issuer = issuer;
    }

    public String getCertificateStatus() {
        return certificateStatus;
    }

    public void setCertificateStatus(String certificateStatus) {
        this.certificateStatus = certificateStatus;
    }

    public String getVoidReason() {
        return voidReason;
    }

    public void setVoidReason(String voidReason) {
        this.voidReason = voidReason;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getExportFormat() {
        return exportFormat;
    }

    public void setExportFormat(String exportFormat) {
        this.exportFormat = exportFormat;
    }

    public String getWordFileUrl() {
        return wordFileUrl;
    }

    public void setWordFileUrl(String wordFileUrl) {
        this.wordFileUrl = wordFileUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getValidUntil() {
        return validUntil;
    }

    public void setValidUntil(Date validUntil) {
        this.validUntil = validUntil;
    }
} 